package com.example.demo.controller.supper;

import lombok.RequiredArgsConstructor;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jiangjinwu
 * @version 1.0
 * @since 2025/10/20 17:25
 */

@Slf4j
@Validated
@Controller
@RequiredArgsConstructor
@RequestMapping("/supper")
public class SupperUIController {
  @GetMapping("/home")
  public String index(){
    return "index";
  }
  @GetMapping("/home2")
  public String index2(){
    return "index2";
  }

  @GetMapping("/index3")
  public String index3(){
    return "index3";
  }

  @GetMapping("/login.html")
  public String loginHtml(){
    return "login";
  }
}
